package com.lagou.rpc.comsumer.loadbalance;

import com.lagou.rpc.comsumer.client.RpcClient;

import java.util.List;
import java.util.Map;

/**
 * 负载均衡策略接口
 */
public interface LoadBalanceStrategy {

    RpcClient route(Map<String, List<RpcClient>> clientPool, String serviceClassName);
}
